<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <style>
        body { font-family: "Arial", sans-serif; padding: 20px; }
        h2 { text-align: center; }
        table { width: 100%; border-collapse: collapse; margin-top: 20px; }
        th, td { border: 1px solid #aaa; padding: 8px; text-align: center; }
    </style>
</head>
<body>
<h2>订单信息</h2>
<p>订单编号：${orderNo}</p>
<p>客户姓名：${customerName}</p>
<p>下单时间：${orderTime}</p>

<table>
    <thead>
    <tr><th>商品名</th><th>单价</th><th>数量</th><th>小计</th></tr>
    </thead>
    <tbody>
    <#list items as item>
    <tr>
        <td>${item.name}</td>
        <td>${item.price}</td>
        <td>${item.quantity}</td>
        <td>${item.total}</td>
    </tr>
    </#list>
    </tbody>
</table>
</body>
</html>
